{% extends 'bookmanage/base.html' %}

{% block content %}
    <div class="panel panel-default">
        <!-- Default panel contents -->
        <div class="panel-heading">修改作者</div>
        <div class="col-md-5">
            <div class="panel-body">
                <form action="{% url 'publish_change' id=auther.id %}" method="post">
                    <div class="form-group">
                        出版社名称: <input type="text" class="form-control" name="name" value="{{ auther.name }}">
                    </div>
                    <div class="form-group">
                        出版社住址: <input type="text" class="form-control" name="address" value="{{ auther.address }}">
                    </div>
                    <input type="submit" class="form-control" value="提交">
                </form>
            </div>
        </div>
    </div>
    <script>
        $(".book_list").removeClass("active")
        $(".auth_list").removeClass("active")
        $(".pub_list").addClass("active")
    </script>

{% endblock %}